package com.tadpole.music.holder.home;

import android.view.View;
import android.widget.TextView;


import com.tadpole.music.R;
import com.tadpole.music.holder.base.BaseViewHolder;

import java.util.List;

/**
 * Created By 孙岩
 * on 2020/12/9
 */
public class WeekViewHolder extends BaseViewHolder {
    private List<String> list;
    private TextView tvWeek;
    private View itemView;
    public WeekViewHolder(View itemView, List<String> list) {
        super(itemView);
        this.itemView = itemView;
        this.list = list;
    }

    @Override
    public void init(int position) {
        tvWeek = itemView.findViewById(R.id.tvWeek);
        tvWeek.setText(list.get(position));
    }
}
